<form class="layui-form"  requrl="${ctx}/qbdms/wQbdFlighttestChild/get"style="padding: 0px 30px;width: 440px;margin-left: auto;margin-right: auto" lay-filter="wQbdFlighttestChildDataForm">
    <div style="margin: 15px 0px;height: 471px;overflow: auto;">
        <div class="layui-form-item">
            <label class="layui-form-label">主键</label>
            <div class="layui-input-block">
                <input type="text" name="id"  placeholder="请输入"
                       autocomplete="off" class="layui-input " maxlength="50" fieldname="id">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">单位名称</label>
            <div class="layui-input-block">
                <input type="text" name="companyName"  placeholder="请输入"
                       autocomplete="off" class="layui-input " maxlength="50" fieldname="companyName">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">奖励总人数</label>
            <div class="layui-input-block">
                <input type="text" name="totalNumberOfAwards"  placeholder="请输入"
                       autocomplete="off" class="layui-input " maxlength="50" fieldname="totalNumberOfAwards">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">金额</label>
            <div class="layui-input-block">
                <input type="text" name="sumOfMoney"  placeholder="请输入"
                       autocomplete="off" class="layui-input " maxlength="50" fieldname="sumOfMoney">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">详细情况</label>
            <div class="layui-input-block">
                <input type="text" name="details"  placeholder="请输入"
                       autocomplete="off" class="layui-input " maxlength="50" fieldname="details">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-block">
                <input type="text" name="sort"  placeholder="请输入"
                       autocomplete="off" class="layui-input " maxlength="50" fieldname="sort">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">外键</label>
            <div class="layui-input-block">
                <input type="text" name="refid"  placeholder="请输入"
                       autocomplete="off" class="layui-input " maxlength="50" fieldname="refid">
            </div>
        </div>
    </div>
</form>
<script>

    layui.use(['common','laydate','jquery'], function () {
        var laydate = layui.laydate;
        var common = layui.common;
        var $ = layui.jquery;
        var dateTimeFiledLen = $(".dateTimeFiled");
        for(var i=0;i<dateTimeFiledLen.length;i++){
            laydate.render({
                elem: dateTimeFiledLen[i] //指定元素
                ,type: 'date'
                ,trigger: 'click'
            });
        }
        var id = "${id}";
        common.updateForm({
            name:'wQbdFlighttestChildDataForm',
            idValue:id,
            primary:"id",
        });
    });
</script>